package br.com.vacinne;

import java.util.List;

import android.app.ListActivity;
import android.os.Bundle;
import br.com.vacinne.Entity.UsuarioEntity;
import br.com.vacinne.dao.DB;

public class ListUsersActivity extends ListActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//setContentView(R.layout.activity_list_users);
		
		DB bd = new DB(this);
		
		List<UsuarioEntity> list = bd.list();
		setListAdapter(new UsuarioAdapter(this, list));
	}
}